﻿<%@ Page Title="停车位管理" Language="C#" MasterPageFile="~/PropertyManageMenu.master"
    AutoEventWireup="true" CodeBehind="ParkingsManagement.aspx.cs" Inherits="RealtyManagementSystem.Web.RealtyManagers.AddParking" %>

<asp:Content ID="Content1" ContentPlaceHolderID="menuHead" runat="server">
    <%-- <script src="../Scripts/parking.js" type="text/javascript"></script>--%>
    <%--    <script src="../Scripts/navigation.js" type="text/javascript"></script>--%>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="menuContent" runat="server">
    <div id="modify_parking" class="temp display_hide">
        <div class="parking_add_style ">
            点击这里，分配停车位
        </div>
    </div>
    <div id="hide_parking_div" class="temp">
        <div class="parking_add_style">
            收起停车位分配
        </div>
    </div>
    <div id="parking_div" class="temp_1">
        <div class="realty_table">
            <div class="realty_detail_title_long">
                <span class="realty_font realty_detail_title_font">楼号：</span></div>
            <asp:DropDownList ID="ddlBuilding" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlBuilding_SelectedIndexChanged">
            </asp:DropDownList>
        </div>
        <div class="realty_table">
            <div class="realty_detail_title_long">
                <span class="realty_font realty_detail_title_font">户主：</span></div>
            <asp:DropDownList ID="ddlHousehold" runat="server" CssClass="textEntry_2">
            </asp:DropDownList>
        </div>
        <div class="button_position_1">
            <asp:Button ID="Button1" runat="server" Text="分配" OnClick="Button1_Click" CssClass="continue_sytle_1" />
            <div class="parking_success">
                <asp:Label ID="lblMsg" runat="server" CssClass="failureNotification"></asp:Label>
            </div>
        </div>
    </div>
    <div class="parking_gridView_div_style">
        <asp:GridView Width="400px" ID="gvParkings" runat="server" CellPadding="4" ForeColor="#333333"
            GridLines="Both" AutoGenerateColumns="false" CssClass="parking_gridView_style">
            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
            <Columns>
                <asp:BoundField HeaderText="车位编号" DataField="ParkingId" />
                <asp:BoundField HeaderText="楼号" DataField="Building.BuildingName" />
                <asp:BoundField HeaderText="业主名称" DataField="Household.aspnet_Users.UserName" />
            </Columns>
            <EditRowStyle BackColor="#999999" />
            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#E9E7E2" />
            <SortedAscendingHeaderStyle BackColor="#506C8C" />
            <SortedDescendingCellStyle BackColor="#FFFDF8" />
            <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
        </asp:GridView>
    </div>
</asp:Content>